package com.wen.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wen.entity.MemberOrder;
import com.wen.mapper.MemberOrderMapper;
import com.wen.service.MemberOrderService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author dhh
 * @date 2021/11/22 9:43
 */
@Service
@AllArgsConstructor
public class MemberOrderServiceImpl extends ServiceImpl<MemberOrderMapper, MemberOrder> implements MemberOrderService {

    private final MemberOrderMapper memberOrderMapper;

    @Override
    public List<Map<String, Object>> getMemberOrder(Integer memberId, String search) {
        return memberOrderMapper.getMemberOrder(memberId,search);
    }
}
